package com.wormhole.wormholemanagement.repository;

import com.wormhole.wormholemanagement.entity.Position;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;
import java.util.Optional;

public interface PositionRepository extends JpaRepository<Position, Long> {
    Optional<Position> findByTitle(String title);
    List<Position> findByTitleIn(List<String> titles);
}
